package com.example.network;

import com.example.network.javaBeans.Book;
import com.example.network.javaBeans.yzjyinfo;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by zhaoyulu_sx on 2017/7/28.
 */

public interface RetrofitService {
    @GET("yzjyinfo")
    Call<List<yzjyinfo>> getyzjyinfo();

    @POST("yzjyinfo")
    Call<List<yzjyinfo>> getVideoPic(@Query("id") String name);
}